package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笔记对象 t_note
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public class TNote extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户笔记id */
    private Long noteId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 用户笔记标题 */
    @Excel(name = "用户笔记标题")
    private String noteName;

    /** 运动数据ID */
    @Excel(name = "运动数据ID")
    private Long sportId;

    /** 笔记内容 */
    @Excel(name = "笔记内容")
    private String noteDetail;

    /** 删除标识,未删除为0，已删除为1 */
    @Excel(name = "删除标识,未删除为0，已删除为1")
    private Long deleteFlag;

    /** 版本号 */
    @Excel(name = "版本号")
    private String version;

    public void setNoteId(Long noteId) 
    {
        this.noteId = noteId;
    }

    public Long getNoteId() 
    {
        return noteId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setNoteName(String noteName) 
    {
        this.noteName = noteName;
    }

    public String getNoteName() 
    {
        return noteName;
    }

    public void setSportId(Long sportId) 
    {
        this.sportId = sportId;
    }

    public Long getSportId() 
    {
        return sportId;
    }

    public void setNoteDetail(String noteDetail) 
    {
        this.noteDetail = noteDetail;
    }

    public String getNoteDetail() 
    {
        return noteDetail;
    }

    public void setDeleteFlag(Long deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Long getDeleteFlag() 
    {
        return deleteFlag;
    }

    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noteId", getNoteId())
            .append("userId", getUserId())
            .append("noteName", getNoteName())
            .append("sportId", getSportId())
            .append("noteDetail", getNoteDetail())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("version", getVersion())
            .toString();
    }
}
